<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function foo(a,b){
            var v = a;
            for(var i=0;i <= b;i++){
                var c = a;
                for(var j=0;j <=b;j++){
                    var sum = v*10 + c;
                    if(sum%2 !== 0 && v !== c){
                        console.log(''+v+c);
                    }
                    c++;
                }
                v++;             
            }
        }
        foo(0,3)
    </script>
</body>
</html>